package com.marver.beans;

import com.marver.common.utils.group.QueryGroup;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @description: 用户查询参数
 * @Author: Marver
 * @date: 2018-04-26 17:46
 **/
public class UserQo {
    @NotBlank(message = "登录电话号码不能为空", groups = {QueryGroup.class})
    private String mobile;
    @NotBlank(message = "登录密码不能为空", groups = {QueryGroup.class})
    private String password;
    @NotBlank(message = "验证码不能为空", groups = {QueryGroup.class})
    private String captcha;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}
